Carbon


DMRemoveExtendedNotifyProc

Header: Displays.h Carbon status: Modified

Removes your Display Notice event-handling function registered by the DMRegisterExtendedNotifyProc function.

OSErr DMRemoveExtendedNotifyProc (
    DMExtendedNotificationUPP notifyProc, 
    void *notifyUserData, 
    ProcessSerialNumberPtr whichPSN, 
    UInt16 removeFlags
);
Parameter descriptions
notifyProc

A pointer to your function you want to remove that handles a Display Notice event.

notifyUserData

A pointer to caller-specific information which the Display Manager will return to your application when you request it.

whichPSN

Reserved for future expansion. Pass NULL in this parameter.

removeFlags

A pointer to the Process Serial Number associated with your Display Notice event-handling function. If this process terminates, the Display Notice event-handling function is automatically removed. For example, the Monitors control panel supplies the Finder’s process number when registering its Display Notice event-handling function.

function result

A result code. Δ

SPECIAL CONSIDERATIONS

Because this function may move or purge memory blocks or access handles, you cannot call it at interrupt time.

AVAILABILITY

Modified in Carbon. Available in Carbon 1.0.2 and later when Displays 2.0 or later is present.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)